PROJECT(PYTHON_COLIBRI)

set(CMAKE_BUILD_TYPE Debug)

set(NEIDERRA_SRC ../../Neiderra/neiderra) # neiderra headers
set(NEIDERRA_BIN ${NEIDERRA_SRC}) # neiderra lib path
set(BOOST_DIR /usr/local/include/boost-1_34)
set(PYTHON_SRC_DIR /usr/include/python2.5)
set(PYTHON_LIB_DIR /usr/lib/python2.5)
set(SOURCES main.cpp)

LINK_LIBRARIES(GL GLU)
INCLUDE_DIRECTORIES(${BOOST_DIR} ${PYTHON_SRC_DIR} ${NEIDERRA_SRC})
LINK_DIRECTORIES(${PYTHON_LIB_DIR} ${NEIDERRA_BIN}) # Not needed?

# fixme: OPTION WINDOWDEBUG.. 

#set_source_files_properties(${SOURCES} COMPILE_FLAGS -DDEBUG)

#add_library(window SHARED ${SOURCES})
add_executable(window ${SOURCES})

#set_target_properties(window PROPERTIES LINK_FLAGS_DEBUG)

target_link_libraries(window neiderra)
